﻿using Coldairarrow.Entity.Base_Manage;
using Coldairarrow.Util;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Interface
{
    public class KingDee_QueryEventArgs
    {
        /// <summary>
        /// 登录状态
        /// </summary>
        public int LogState { get; set; }
        /// <summary>
        /// 返回的数据
        /// </summary>
        public string ResultStr { get; set; }
        /// <summary>
        /// 所有行数据
        /// </summary>
        public List<List<object>> Rows { get; set; }

        /// <summary>
        /// 分页请求数据
        /// </summary>
        public KingDee_QueryPage Page { get; set; }
        /// <summary>
        /// 自定义数据
        /// </summary>
        public object CustomData { get; set; }

        /// <summary>
        /// 自定计数
        /// </summary>
        public int CustomCount { get; set; }

        /// <summary>
        /// 成功标志
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 同一请求执行异常最大次数次数
        /// </summary>
        public bool CountOut { get; set; }

        /// <summary>
        /// 用于Http请求
        /// </summary>
        public HttpClient HttpClient { get; set; }

        /// <summary>
        /// 接口请求的参数
        /// </summary>
        public string reqData { get; set; }

        /// <summary>
        /// API配置
        /// </summary>
        public Base_InterfaceOption APIOption { get; set; }

        /// <summary>
        /// API所有参数
        /// </summary>
        public List<Base_InterfaceOptionEntry> APINodes { get; set; }

        /// <summary>
        /// API参数的最高层父级
        /// </summary>
        public List<Base_InterfaceOptionEntry> ParentNode { get; set; }

    }
}
